.class Lcom/nemustech/regina/ElementAndroidWidget$4;
.super Ljava/lang/Object;
.source "ElementAndroidWidget.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementAndroidWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementAndroidWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementAndroidWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 207
    iput-object p1, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 209
    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCustomPanel;->setOpacity(F)V

    .line 210
    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanelVertexStack:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-lez v0, :cond_1

    .line 211
    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanelVertexStack:Ljava/util/Stack;

    invoke-virtual {v0, v3}, Ljava/util/Stack;->get(I)Ljava/lang/Object;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementAndroidWidget;->mPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getVertex()[F

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v2, v2, Lcom/nemustech/regina/ElementAndroidWidget;->mPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getVertex()[F

    move-result-object v2

    array-length v2, v2

    invoke-static {v0, v3, v1, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 212
    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->requestUpdateVertex()V

    .line 213
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementAndroidWidget$4;->this$0:Lcom/nemustech/regina/ElementAndroidWidget;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAndroidWidget;->mPanelVertexStack:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->clear()V

    .line 215
    :cond_1
    return-void
.end method
